package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "questionnarie")
public class Questionnarie implements Serializable {
    private ObjectId id;//问卷编号
    private String qName;//问卷名称
    private String cover;//封面地址
    private String level;//问卷等级
    private Integer star;//问卷星级
}
